#ifndef AGENTTASKDATETIMETRIGGER_H
#define AGENTTASKDATETIMETRIGGER_H

#include "Agent/agenttaskbase.h"
class QTimer;

class AgentTaskDateTimeTrigger : public AgentTaskBase
{
    Q_OBJECT
public:
    explicit AgentTaskDateTimeTrigger(QMap <QByteArray,QByteArray> mapIPPortReqPacket,QByteArray packet,
            QString paramAppIP,quint16 paramAppPort,QObject *parent = 0);
    ~AgentTaskDateTimeTrigger();
signals:

public slots:
    //基类的构造函数在构造的时候，会自动调用这个函数
    void slotInitDerivedClass();
    void slotTimerSendPacketToServer();

private:
    void analyzeIncomeDatagram(QByteArray packet);

    QTimer *timer;

};

#endif // AGENTTASKDATETIMETRIGGER_H
